﻿@model InnovaApp.Portals.MVC4Portal.Models.ClientFilesGenerationModels.ScriptGModel
@{
    this.Layout = string.Empty;
    this.Response.ContentType = "text/javascript";
}
@foreach (var v in Model.Variables)
{
    if (!string.IsNullOrEmpty(v.Value.ToString()))
    {
        @Html.Raw("var " + v.Key + " = '" + v.Value.ToString().Replace("'", "\\'") + "';\n")	    
    }
    else { 
        @Html.Raw("var " + v.Key + " = '';\n")	                
    }
}
